package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 路段管理对象 newroad
 * 
 * @author xjj
 * @date 2022-04-08
 */
public class Newroad extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 路段ID */
    private Long roadId;

    /** 路段名 */
    @Excel(name = "路段名")
    private String roadName;

    public void setRoadId(Long roadId) 
    {
        this.roadId = roadId;
    }

    public Long getRoadId() 
    {
        return roadId;
    }
    public void setRoadName(String roadName) 
    {
        this.roadName = roadName;
    }

    public String getRoadName() 
    {
        return roadName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roadId", getRoadId())
            .append("roadName", getRoadName())
            .append("parentId", getParentId())
            .toString();
    }
}
